package com.nbcio.modules.erp.refund.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 退换货请求
 * @Author: nbacheng
 * @Date:   2024-04-28
 * @Version: V1.0
 */
@Data
@TableName("return_request")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="return_request对象", description="退换货请求")
public class ReturnRequest implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**退换货编码*/
	@Excel(name = "退换货编码", width = 15)
    @ApiModelProperty(value = "退换货编码")
    private java.lang.String code;
	/**订单项id*/
	@Excel(name = "订单项id", width = 15)
    @ApiModelProperty(value = "订单项id")
    private java.lang.String orderItemId;
	/**订单项名称*/
	@Excel(name = "订单项名称", width = 15)
    @ApiModelProperty(value = "订单项名称")
    private java.lang.String orderItemName;
	/**客户id*/
	@Excel(name = "客户id", width = 15)
    @ApiModelProperty(value = "客户id")
    private java.lang.String customerId;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String customerName;
	/**申请日期*/
	@Excel(name = "申请日期", width = 15)
    @ApiModelProperty(value = "申请日期")
    private java.util.Date requestDate;
	/**退换货原因*/
	@Excel(name = "退换货原因", width = 15)
    @ApiModelProperty(value = "退换货原因")
    private java.lang.String reason;
	/**请求状态*/
	@Excel(name = "请求状态", width = 15, dicCode = "request_status")
	@Dict(dicCode = "request_status")
    @ApiModelProperty(value = "请求状态")
    private java.lang.String status;
	/**退换数量*/
	@Excel(name = "退换数量", width = 15)
    @ApiModelProperty(value = "退换数量")
    private java.math.BigDecimal returnQuantity;
	/**替换商品id*/
	@Excel(name = "替换商品id", width = 15)
    @ApiModelProperty(value = "替换商品id")
    private java.lang.String replaceGoodsId;
	/**替换商品名称*/
	@Excel(name = "替换商品名称", width = 15)
    @ApiModelProperty(value = "替换商品名称")
    private java.lang.String replaceGoodsName;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
}
